package org.jsola.hr.dao;

import org.apache.ibatis.annotations.Param;
import org.jsola.hr.entity.CheckInPeopleDO;
import org.jsola.hr.query.CheckInPeopleQuery;
import org.jsola.hr.vo.CheckInPeopleListVO;
import org.jsola.orm.mapper.IJsolaMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 预登记人员
 *
 * @author zhr
 */
@Repository("hrCheckInPeopleDAO")
public interface ICheckInPeopleDAO extends IJsolaMapper<CheckInPeopleDO> {

    /**
     * 管理端小程序分页查询预登记人员
     *
     * @param checkInPeopleQuery 查询条件
     * @param siteId             站点
     * @return 预登记人员
     */
    List<CheckInPeopleListVO> selectPageForMini(@Param("checkInPeopleQuery") CheckInPeopleQuery checkInPeopleQuery,
                                                @Param("siteId") String siteId);

}

